|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a CardService interface which provides the access to a card applet.
| Method Summary | |
ResponseAPDU |
selectApplet(AppletID aid)
Select an applet. |
APDU |
sendRequestAPDU(APDU apdu)
Sends an APDU to the currently selected card applet. |
APDU |
sendRequestAPDU(AppletID aid,
APDU apdu)
Sends an APDU to the card applet which has the given AppletID. |
byte[] |
sendRequestAPDU(AppletID aid,
byte[] request)
Sends a command bytes to the card applet which has the given AppletID. |
ResponseAPDU |
sendRequestAPDU(AppletID aid,
RequestAPDU requestAPDU)
Sends a RequestAPDU to the card applet which has the given AppletID. |
byte[] |
sendRequestAPDU(byte[] request)
Sends a command bytes to the currently selected card applet. |
ResponseAPDU |
sendRequestAPDU(RequestAPDU requestAPDU)
Sends a RequestAPDU to the currently selected card applet. |
| Method Detail |
public ResponseAPDU selectApplet(AppletID aid)
throws CardServiceException
aid -
the AppletID.
ResponseAPDU received from the card.
CardServiceException -
if the applet selection failed.
public ResponseAPDU sendRequestAPDU(AppletID aid,
RequestAPDU requestAPDU)
throws CardServiceException,
APDUException
aid -
the AppletID.requestAPDU -
a RequestAPDU to be sent.
ResponseAPDU received from the card.
CardServiceException -
if the service encountered an error.
APDUException -
if the response length was shorter than the status words length.
public APDU sendRequestAPDU(AppletID aid,
APDU apdu)
throws CardServiceException
aid -
the AppletID.apdu -
an APDU to be sent.
APDU received from the card.
CardServiceException -
if the service encountered an error.
public byte[] sendRequestAPDU(AppletID aid,
byte[] request)
throws CardServiceException
aid -
the AppletID.request -
a command bytes to be sent.
CardServiceException -
if the service encountered an error.
public ResponseAPDU sendRequestAPDU(RequestAPDU requestAPDU)
throws CardServiceException,
APDUException
requestAPDU -
a RequestAPDU to be sent.
ResponseAPDU received from the card.
CardServiceException -
if the service encountered an error.
APDUException -
if the response length was shorter than the status words length.
public APDU sendRequestAPDU(APDU apdu)
throws CardServiceException
apdu -
an APDU to be sent.
APDU received from the card.
CardServiceException -
if the service encountered an error.
public byte[] sendRequestAPDU(byte[] request)
throws CardServiceException
request -
a command bytes to be sent.
CardServiceException -
if the service encountered an error.
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||